//
//  KDDView.h
//  MengLiao
//
//  Created by xiuxin on 2022/7/15.
//  Copyright © 2022 HZMengLiao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@class KDDPosition;
@protocol KDDReuseView
@optional
+ (CGSize)sizeForModel:(__kindof NSObject *)model position:(KDDPosition *)position;

- (void)prepareForReuse;

- (void)ddWillDisplay:(__kindof NSObject *)model position:(KDDPosition *)position;

- (void)ddLoadModel:(__kindof NSObject *)model position:(KDDPosition *)position;

- (void)ddEndDisplay:(__kindof NSObject *)model position:(KDDPosition *)position;

- (void)ddBeginSuspend:(__kindof NSObject *)model position:(KDDPosition *)position;

- (void)ddEndSuspend:(__kindof NSObject *)model position:(KDDPosition *)position;

@end
